package com.bootdo.repertory.service.impl;

import com.bootdo.repertory.dao.WarehousingDao;
import com.bootdo.repertory.domain.WarehousingDO;
import com.bootdo.repertory.service.WarehousingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class WarehousingServiceImpl implements WarehousingService {
	@Autowired
	private WarehousingDao warehousingDao;
	
	@Override
	public WarehousingDO get(Integer id){
		return warehousingDao.get(id);
	}
	
	@Override
	public List<WarehousingDO> list(Map<String, Object> map){
		return warehousingDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return warehousingDao.count(map);
	}
	
	@Override
	public int save(WarehousingDO warehousing){
		return warehousingDao.save(warehousing);
	}
	
	@Override
	public int update(WarehousingDO warehousing){
		return warehousingDao.update(warehousing);
	}
	
	@Override
	public int remove(Integer id){
		return warehousingDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return warehousingDao.batchRemove(ids);
	}
	
}
